var vm = new Vue({
    el:'#login',
    data:{
        user:'',
        pwd:''
    },
    methods:{
        login(){
            console.log(this.user,this.pwd);
            this.user = "";
            this.pwd = "";
        }
    }
})